﻿namespace iWare.Wms.Application.Service.System.LowCode.Dto
{
    /// <summary>
    /// 
    /// </summary>
    public class ContrastLowCode
    {
        /// <summary>
        /// 
        /// </summary>
        public string Controls { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<ContrastLowCode_Database> Databases { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class ContrastLowCode_Database
    {
        /// <summary>
        /// 
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Control_Key { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Control_Label { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Control_Model { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Control_Type { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 类名
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        /// 表描述
        /// </summary>
        public string TableDesc { get; set; }

        /// <summary>
        /// 字段名称
        /// </summary>
        public string FieldName { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        public Type DbType { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        public string DbTypeName { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        public string DtoTypeName { get; set; }

        /// <summary>
        /// 数据类型补充参数
        /// </summary>
        public string DbParam { get; set; }

        /// <summary>
        /// 是否必填
        /// </summary>
        public bool? IsRequired { get; set; }

        /// <summary>
        /// 列表显示
        /// </summary>
        public bool? WhetherTable { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public bool? WhetherOrderBy { get; set; }

        /// <summary>
        /// 增改
        /// </summary>
        public bool? whetherAddUpdate { get; set; }

        /// <summary>
        /// 是否是查询
        /// </summary>
        public bool? QueryWhether { get; set; }

        /// <summary>
        /// 查询方式
        /// </summary>
        public string QueryType { get; set; }
    }
}